<?php
	require('functions/functions.php');
	checksession();
	if (isset($_SESSION['logged'])) {
	   unset($_SESSION['logged']);
	   unset($_SESSION['username']);
	}
	header('Location: index.php');
	exit;
?>